package ${basePackageName}.manager;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sinosoftframework.core.hiberante.HibernateDao;
import com.sinosoftframework.core.manager.EntityManager;

import ${basePackageName}.dao.${className}Dao;
import ${basePackageName}.domain.${className};

@Service
@Transactional
public class ${className}Manager extends
		EntityManager<${className}, Serializable> {

	@Autowired
	${className}Dao dao;

	@Override
	protected HibernateDao<${className}, Serializable> getEntityDao() {
		return dao;
	}
}